@extends('layouts.admin.application')

@section('css')
    <link rel="stylesheet" href="/vendor/daterangepicker/daterangepicker.css">
@endsection

@section('content')

    <div class="admin-content">

        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">编辑门店</strong> /
                <small>Edit</small>
            </div>
        </div>
        <hr>
        @include('admin._flash')

        <div class="am-g">
            <div class="am-u-sm-12 am-u-md-12">

                <form class="am-form" action="/admin/store/{{$store->id}}" method="post">
                    {{ csrf_field() }}
                    {{ method_field('PUT') }}


                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            分类名称
                        </div>
                        <div class="am-u-sm-8 am-u-md-4">
                            <input type="text" class="am-input-sm" name="name" value="{{$store->name}}">
                        </div>
                        <div class="am-hide-sm-only am-u-md-6">*请填写唯一分类名称</div>
                    </div>





                    {{--<div class="am-g am-margin-top sort">--}}
                    {{--<div class="am-u-sm-4 am-u-md-2 am-text-right">--}}
                    {{--结束时间--}}
                    {{--</div>--}}
                    {{--<div class="am-u-sm-8 am-u-md-4 am-u-end col-end">--}}
                    {{--<input type="text" name="sort_order" class="am-input-sm" value="" placeholder="点击选择结束时间" >--}}
                    {{--</div>--}}
                    {{--</div>--}}










                    <div class="am-margin">
                        <button type="submit" class="am-btn am-btn-primary am-radius">提交保存</button>
                    </div>
                </form>
            </div>
        </div>
    </div>


@endsection
@section('js')
    <script src="/vendor/daterangepicker/moment.js"></script>
    <script src="/vendor/moment/locale/zh-cn.js"></script>
    <script src="/vendor/daterangepicker/daterangepicker.js"></script>

    <script>


    </script>
@endsection